package org.onion.pattern.kit.springtool.converter;


import org.onion.pattern.kit.common.jackson.serializer.LocalDateTimeDeserializer;
import org.springframework.core.convert.converter.Converter;

import java.time.*;

public class String2LocalDateTimeConvert implements Converter<String, LocalDateTime> {

    @Override
    public LocalDateTime convert(String s) {
        return LocalDateTimeDeserializer.parse(s);
    }


}
